package com.tuxing.draa_data.dao;

import com.tuxing.draa_data.pojo.DraaTemporaryBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author yuanshihang
 * @since 2021-11-30
 */
@Repository
public interface DraaTemporaryBookDao extends BaseMapper<DraaTemporaryBook> {

    /**
     * @param maxId 查询位置偏移量
     * @return 结果集
     * @decpription 分页查询Excel中解析的draa的图书临时数据
     * @author yuanshihang
     * @date 2021/12/1 14:29
     * @version 1.0
     */
    List<DraaTemporaryBook> findListByPage(@Param("maxId") Integer maxId);

}
